home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
bioscloc.arc
/
BIOSCLOC.DOC
< prev
next >
Wrap
Text File
|
1986-03-13
|
2KB
|
37 lines
BIOSCLOCK
If you are using an IBM-PC compatible running under MS-DOS 2.11 (e.g., Phoenix
BIOS compatibility software), you may have noticed that some programs which
display the time do so from 00:00:00 each time you start or re-boot the
system. I know specifically that CLOCK.COM, DESKMATE.COM, and DOUBLEDOS have
this characteristic; there are probably others. You may have also noticed that
resetting the system time via the DOS "time" function doesn't help this
problem at all.
There are two BIOS addresses which contain a hi-lo timer counter which is
incremented every 18.2 seconds. In PC-DOS 2.10, these locations are set to the
values described by the TIME function; for some reason, MS-DOS 2.11 doesn't do
this (at least not the versions I've used). The enclosed program BIOSCLOCK.EXE
is a Lattice C utility which simply sets the BIOS timer locations to the
values stored by the DOS "TIME" function. There are no arguments to supply to
the command; you can include it in an AUTOEXEC.BAT file if you want to (since
most compatibles have a built-in battery-driven clock/calendar which
automatically set the system TIME and DATE).
I use a Leading Edge Model "D", so I know this program works on that; we also
have a couple of NEC APC IIIs at work using the Software Library Extender PC
compatibility board, and the program works on that, too. I don't know
firsthand if the program will work on other compatible brands. Best way to
find out is to try it; if it doesn't work, source code is included for you to
fiddle with.
Thomas A. Lundin
Graphics Unlimited, Inc.
3000 2nd St. N.
Minneapolis, MN 55411
(612) 588-7571